@tailwind components;
@tailwind utilities;

html,
body {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.dark-mode {
    background-color: #141414;
}

.light-mode {
    background-color: #ffffff;
    color: #000;

    .next-error-h1 {
        border-right: 1px solid #000;
    }
}

.evalautionContainer {
    margin-bottom: 200px;
}

.mdxSlider img {
    width: 100%;
}

.testset-column {
    cursor: pointer;
}

.testset-column a {
    color: inherit;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(255, 82, 82, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

.hover-button-wrapper {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ant-table-row:hover .hover-button-wrapper {
    opacity: 1;
}

@media screen and (max-width: 1572px) {
    .evalaution-title {
        min-height: 80px;
    }
}

@media screen and (max-width: 1024px) {
    .evalaution-title {
        min-height: 100px;
    }
}

@media screen and (max-width: 848px) {
    .evalaution-title {
        min-height: 120px;
    }
}

/* It removes antd tabs transition to fix lag when using type="editable-card" */
.editable-card.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
    transition: none;
}
